

public class HarmonieNote {
	/*
	 * public final static int DO = 0; public final static int RE = 2; public
	 * final static int MI = 4; public final static int FA = 5; public final
	 * static int SOL = 7; public final static int LA = 9; public final static
	 * int SI = 11;
	 * 
	 * private HarmonyNode currentNode; private HarmonyNode originalNode;
	 * 
	 * private static HarmonieNote instance;
	 * 
	 * private HarmonieNote() {
	 * 
	 * Note noteDo = new Note(HarmonieNote.DO); Note noteDoDiese = new
	 * Note(HarmonieNote.DO); noteDoDiese.diese(); Note noteRe = new
	 * Note(HarmonieNote.RE); Note noteReDiese = new Note(HarmonieNote.RE);
	 * noteReDiese.diese(); Note noteMi = new Note(HarmonieNote.MI); Note noteFa
	 * = new Note(HarmonieNote.FA); Note noteFaDiese = new
	 * Note(HarmonieNote.FA); noteFaDiese.diese(); Note noteSol = new
	 * Note(HarmonieNote.SOL); Note noteSolDiese = new Note(HarmonieNote.SOL);
	 * noteSolDiese.diese(); Note noteLa = new Note(HarmonieNote.LA); Note
	 * noteLaDiese = new Note(HarmonieNote.LA); noteLaDiese.diese(); Note noteSi
	 * = new Note(HarmonieNote.SI);
	 * 
	 * this.AddNote(noteDo); this.AddNote(noteDoDiese); this.AddNote(noteRe);
	 * this.AddNote(noteReDiese); this.AddNote(noteMi); this.AddNote(noteFa);
	 * this.AddNote(noteFaDiese); this.AddNote(noteSol);
	 * this.AddNote(noteSolDiese); this.AddNote(noteLa);
	 * this.AddNote(noteLaDiese); this.AddNote(noteSi);
	 * 
	 * }
	 * 
	 * private void AddNote(Note n) {
	 * 
	 * HarmonyNode newNode = new HarmonyNode(n);
	 * 
	 * if (this.currentNode != null) { HarmonyNode currentNodeNext =
	 * currentNode.getNext();
	 * 
	 * newNode.setPrevious(currentNode); newNode.setNext(currentNodeNext);
	 * 
	 * currentNode.setNext(newNode); currentNodeNext.setPrevious(newNode);
	 * 
	 * } else { this.originalNode = newNode; } this.currentNode = newNode; }
	 * 
	 * public static HarmonieNote getInstance() { if (instance == null) {
	 * instance = new HarmonieNote(); }
	 * 
	 * return instance; }
	 * 
	 * public String toString() { String lString = ""; HarmonyNode loopNode =
	 * this.originalNode;
	 * 
	 * if (loopNode != null) {
	 * 
	 * lString = loopNode.toString(); while (loopNode.getNext() !=
	 * this.originalNode) { loopNode = loopNode.getNext(); lString +=
	 * loopNode.toString(); } }
	 * 
	 * return lString; }
	 * 
	 * public HarmonyNode getFondamentale() { return this.originalNode; }
	 * 
	 * public Note getNoteForIntervalle(int intervalle) { HarmonyNode loopNode =
	 * null; Note note = null;
	 * 
	 * if (this.originalNode != null) { loopNode = this.originalNode;
	 * 
	 * for (int i = 0; i < intervalle; i++) { loopNode = loopNode.getNext(); } }
	 * 
	 * if (loopNode != null) { note = loopNode.getNote(); }
	 * 
	 * return note; }
	 * 
	 * public static void main(String[] args) { HarmonieNote h =
	 * HarmonieNote.getInstance();
	 * 
	 * System.out.println(h);
	 * System.out.println(h.getNoteForIntervalle(Interval.QUINTE));
	 * System.out.println(h.getNoteForIntervalle(Interval.SEPTIEME));
	 * System.out.println(h.getNoteForIntervalle(Interval.QUINTE));
	 * System.out.println(h.getNoteForIntervalle(Interval.OCTAVE));
	 * System.out.println(h.getNoteForIntervalle(Interval.TIERCE)); }
	 */

}
